package com.example.Transaction.mapper;
import com.example.Transaction.domain.Transaction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;


@Mapper
public interface TransactionMapper {
    public List<Transaction> selectTransaction(Transaction transaction);

    public void insertTransaction(Transaction transaction);

    public void  updateTransactionByOrder_id(Transaction transaction);

    public void  delTransactionByOrder_id(@Param("order_id") String order_id);

    public Transaction selectOneTransaction(Transaction transaction);
}
